package com.content.scaffold.model.dto.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.content.scaffold.common.annotation.SensitiveField;
import com.content.scaffold.common.handler.AesEncryptHandler;
import com.content.scaffold.common.mybatis.CommonQuery;
import com.content.scaffold.model.enums.SensitiveType;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author xiaojl
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class QueryUserPage extends CommonQuery {
    /**
     * 身份证号码
     */
    @SensitiveField(type = SensitiveType.ID_CARD,encryption = true)
    private String cardNo;
    /**
     * 手机号码
     */
    @SensitiveField(type = SensitiveType.PHONE,encryption = true)
    private String mobile;
    /**
     * 用户姓名
     */
    private String userName;
}
